Advanced Search

Search Results (Searched for: XHC)

10 May 2024 21:28

Fatal Error After Computer Crash

Category: Installing LinuxCNC

We experienced a computer crash and now LinuxCNC is unable to load. Below is the error log and I've attached the ini and hal files.

Warning: Spoiler!
04 May 2024 13:59

Debian 12 Bookworm Linuxcnc 2.9.2....Latency problem

Category: Installing LinuxCNC

after sudo dpkg headers and image =

uname -v=
#3 SMP PREEMPT_RT Sun Apr 28 23:39:38 CEST 2024

cat /proc/cmdline=
BOOT_IMAGE=/boot/vmlinuz-6.9.0-rc5-rt1+ root=UUID=1c171f88-4f36-42ba-b84a-1dcf20ae1a6b ro initrd=/install/gtk/initrd.gz quiet

cat /proc/interrupts=
CPU0 CPU1 CPU2 CPU3
0: 20 0 0 0 IO-APIC 2-edge timer
8: 0 0 0 0 IO-APIC 8-edge rtc0
9: 0 4 0 0 IO-APIC 9-fasteoi acpi
16: 0 0 0 25 IO-APIC 16-fasteoi ehci_hcd:usb1
18: 0 0 5 0 IO-APIC 18-fasteoi i801_smbus
23: 0 31 0 0 IO-APIC 23-fasteoi ehci_hcd:usb3
24: 0 0 0 0 PCI-MSI-0000:00:1c.0 0-edge PCIe PME, pciehp
25: 0 0 0 0 PCI-MSI-0000:00:1c.2 0-edge PCIe PME
26: 0 0 0 0 PCI-MSI-0000:00:1c.3 0-edge PCIe PME
27: 71 0 0 0 PCI-MSIX-0000:02:00.0 0-edge enp2s0
28: 4315 0 0 0 PCI-MSI-0000:00:14.0 0-edge xhci_hcd
29: 0 0 13954 0 PCI-MSI-0000:00:1f.2 0-edge ahci[0000:00:1f.2]
30: 0 0 0 7021 PCI-MSI-0000:00:02.0 0-edge i915
31: 22 0 0 0 PCI-MSI-0000:00:16.0 0-edge mei_me
32: 0 2407 0 0 PCI-MSI-0000:03:00.0 0-edge iwlwifi
33: 0 0 322 0 PCI-MSI-0000:00:03.0 0-edge snd_hda_intel:card0
34: 0 0 0 466 PCI-MSI-0000:00:1b.0 0-edge snd_hda_intel:card1
NMI: 1 0 0 1 Non-maskable interrupts
LOC: 26236 24028 22816 26873 Local timer interrupts
SPU: 0 0 0 0 Spurious interrupts
PMI: 1 0 0 1 Performance monitoring interrupts
IWI: 1074 1085 1382 4708 IRQ work interrupts
RTR: 0 0 0 0 APIC ICR read retries
RES: 907 822 916 928 Rescheduling interrupts
CAL: 5927 4453 4487 5567 Function call interrupts
TLB: 1085 470 1086 980 TLB shootdowns
TRM: 0 0 0 0 Thermal event interrupts
THR: 0 0 0 0 Threshold APIC interrupts
MCE: 0 0 0 0 Machine check exceptions
MCP: 1 2 2 2 Machine check polls
ERR: 1
MIS: 0
04 May 2024 13:22

Debian 12 Bookworm Linuxcnc 2.9.2....Latency problem

Category: Installing LinuxCNC

after i dist-upgrade :

uname -v=
#1 SMP PREEMPT_RT Debian 6.1.85-1 (2024-04-11)


cat /proc/cmdline=
BOOT_IMAGE=/boot/vmlinuz-6.1.0-20-rt-amd64 root=UUID=1c171f88-4f36-42ba-b84a-1dcf20ae1a6b ro initrd=/install/gtk/initrd.gz quiet

cat /proc/interrupts=
CPU0 CPU1 CPU2 CPU3
0: 8 0 0 0 IO-APIC 2-edge timer
8: 0 0 0 0 IO-APIC 8-edge rtc0
9: 0 4 0 0 IO-APIC 9-fasteoi acpi
16: 0 0 0 27 IO-APIC 16-fasteoi ehci_hcd:usb1
18: 0 0 3 0 IO-APIC 18-fasteoi i801_smbus
23: 0 0 31 0 IO-APIC 23-fasteoi ehci_hcd:usb3
24: 0 0 0 0 PCI-MSI 458752-edge PCIe PME, pciehp
25: 0 0 0 0 PCI-MSI 462848-edge PCIe PME
26: 0 0 0 0 PCI-MSI 464896-edge PCIe PME
27: 50 0 0 0 PCI-MSI 1048576-edge enp2s0
28: 13962 0 0 0 PCI-MSI 512000-edge ahci[0000:00:1f.2]
29: 0 2805 0 0 PCI-MSI 327680-edge xhci_hcd
30: 0 0 0 4484 PCI-MSI 32768-edge i915
31: 18 0 0 0 PCI-MSI 360448-edge mei_me
32: 0 4590 0 0 PCI-MSI 1572864-edge iwlwifi
33: 0 0 322 0 PCI-MSI 49152-edge snd_hda_intel:card0
34: 0 0 0 466 PCI-MSI 442368-edge snd_hda_intel:card1
NMI: 0 0 0 0 Non-maskable interrupts
LOC: 10116 10066 9694 9853 Local timer interrupts
SPU: 0 0 0 0 Spurious interrupts
PMI: 0 0 0 0 Performance monitoring interrupts
IWI: 808 698 598 4301 IRQ work interrupts
RTR: 0 0 0 0 APIC ICR read retries
RES: 2950 3180 3717 3080 Rescheduling interrupts
CAL: 7556 8256 5742 6800 Function call interrupts
TLB: 1080 781 519 815 TLB shootdowns
TRM: 0 0 0 0 Thermal event interrupts
THR: 0 0 0 0 Threshold APIC interrupts
DFR: 0 0 0 0 Deferred Error APIC interrupts
MCE: 0 0 0 0 Machine check exceptions
MCP: 1 2 2 2 Machine check polls
ERR: 1
MIS: 0
PIN: 0 0 0 0 Posted-interrupt notification event
NPI: 0 0 0 0 Nested posted-interrupt event
PIW: 0 0 0 0 Posted-interrupt wakeup event
04 May 2024 13:05

Debian 12 Bookworm Linuxcnc 2.9.2....Latency problem

Category: Installing LinuxCNC

and on Debian 12 with 2.9.2

uname -v =
#1 SMP PREEMPT_RT Debian 6.1.76-1 (2024-02-01)

cat /proc/cmdline =
BOOT_IMAGE=/boot/vmlinuz-6.1.0-18-rt-amd64 root=UUID=1c171f88-4f36-42ba-b84a-1dcf20ae1a6b ro initrd=/install/gtk/initrd.gz quiet

cat /proc/interrupts=cat /proc/interrupts=
<pre> CPU0 CPU1 CPU2 CPU3
0: 8 0 0 0 IO-APIC 2-edge timer
8: 0 0 0 0 IO-APIC 8-edge rtc0
9: 0 4 0 0 IO-APIC 9-fasteoi acpi
16: 0 0 0 25 IO-APIC 16-fasteoi ehci_hcd:usb1
18: 0 0 3 0 IO-APIC 18-fasteoi i801_smbus
23: 0 0 29 0 IO-APIC 23-fasteoi ehci_hcd:usb3
24: 0 0 0 0 PCI-MSI 458752-edge PCIe PME, pciehp
25: 0 0 0 0 PCI-MSI 462848-edge PCIe PME
26: 0 0 0 0 PCI-MSI 464896-edge PCIe PME
27: 18398 0 0 0 PCI-MSI 512000-edge ahci[0000:00:1f.2]
28: 88 0 0 0 PCI-MSI 1048576-edge enp2s0
29: 0 7214 0 0 PCI-MSI 327680-edge xhci_hcd
30: 0 0 0 8202 PCI-MSI 32768-edge i915
31: 18 0 0 0 PCI-MSI 360448-edge mei_me
32: 0 567 0 0 PCI-MSI 49152-edge snd_hda_intel:card0
33: 0 0 641 0 PCI-MSI 442368-edge snd_hda_intel:card1
34: 0 0 0 8354 PCI-MSI 1572864-edge iwlwifi
NMI: 2 2 1 2 Non-maskable interrupts
LOC: 24270 24754 22704 23422 Local timer interrupts
SPU: 0 0 0 0 Spurious interrupts
PMI: 2 2 1 2 Performance monitoring interrupts
IWI: 389 338 276 675 IRQ work interrupts
RTR: 0 0 0 0 APIC ICR read retries
RES: 5753 5763 5661 6035 Rescheduling interrupts
CAL: 15997 18728 20080 14703 Function call interrupts
TLB: 9323 10584 11866 10543 TLB shootdowns
TRM: 0 0 0 0 Thermal event interrupts
THR: 0 0 0 0 Threshold APIC interrupts
DFR: 0 0 0 0 Deferred Error APIC interrupts
MCE: 0 0 0 0 Machine check exceptions
MCP: 1 2 2 2 Machine check polls
ERR: 1
MIS: 0
PIN: 0 0 0 0 Posted-interrupt notification event
NPI: 0 0 0 0 Nested posted-interrupt event
PIW: 0 0 0 0 Posted-interrupt wakeup event
</pre>


thats are both clean installed SSDs the Debian 10 with 2.9.2 works perfect
Debian 12 with 2.9.2 crash


thanks for any help... i will try install your kernel?
04 May 2024 12:45 - 04 May 2024 12:49

Debian 12 Bookworm Linuxcnc 2.9.2....Latency problem

Category: Installing LinuxCNC

Hi Thanks for your help! First Debian 10:

uname -v =

Linux debian 4.19.0-26-rt-amd64 #1 SMP PREEMPT RT Debian 4.19.304-1 (2024-01-09) x86_64 GNU/Linux

cat /proc/cmdline =
BOOT_IMAGE=/boot/vmlinuz-4.19.0-26-rt-amd64 root=UUID=c4845308-4dd9-4166-a1ab-c1420c7a7374 ro initrd=/install/gtk/initrd.gz quiet

cat /proc/interrupts=cat /proc/interrupts=
CPU0 CPU1 CPU2 CPU3
0: 7 0 0 0 IO-APIC 2-edge timer
8: 0 1 0 0 IO-APIC 8-edge rtc0
9: 0 4 0 0 IO-APIC 9-fasteoi acpi
16: 0 0 0 25 IO-APIC 16-fasteoi ehci_hcd:usb1
18: 0 0 0 0 IO-APIC 18-fasteoi i801_smbus
23: 0 0 29 0 IO-APIC 23-fasteoi ehci_hcd:usb3
24: 0 0 0 0 PCI-MSI 458752-edge PCIe PME, pciehp
25: 0 0 0 0 PCI-MSI 462848-edge PCIe PME
26: 0 0 0 0 PCI-MSI 464896-edge PCIe PME
27: 64 0 0 0 PCI-MSI 1048576-edge enp2s0
28: 21186 0 0 0 PCI-MSI 512000-edge ahci[0000:00:1f.2]
29: 0 15746 0 0 PCI-MSI 327680-edge xhci_hcd
30: 0 0 0 19421 PCI-MSI 32768-edge i915
31: 14 0 0 0 PCI-MSI 360448-edge mei_me
32: 0 284 0 0 PCI-MSI 49152-edge snd_hda_intel:card0
33: 0 0 450 0 PCI-MSI 442368-edge snd_hda_intel:card1
34: 0 0 0 37625 PCI-MSI 1572864-edge iwlwifi
NMI: 4 4 4 4 Non-maskable interrupts
LOC: 52498 53988 52606 55808 Local timer interrupts
SPU: 0 0 0 0 Spurious interrupts
PMI: 4 4 4 4 Performance monitoring interrupts
IWI: 117 129 41 41 IRQ work interrupts
RTR: 1 0 0 0 APIC ICR read retries
RES: 17103 15345 12175 9979 Rescheduling interrupts
CAL: 20423 21178 18639 18313 Function call interrupts
TLB: 16008 16767 14838 14613 TLB shootdowns
TRM: 0 0 0 0 Thermal event interrupts
THR: 0 0 0 0 Threshold APIC interrupts
DFR: 0 0 0 0 Deferred Error APIC interrupts
MCE: 0 0 0 0 Machine check exceptions
MCP: 2 3 3 3 Machine check polls
ERR: 1
MIS: 0
PIN: 0 0 0 0 Posted-interrupt notification event
NPI: 0 0 0 0 Nested posted-interrupt event
PIW: 0 0 0 0 Posted-interrupt wakeup event
04 May 2024 12:39 - 04 May 2024 12:54

Touchscreen issues with debian12

Category: Computers and Hardware

I noticed for the Waveshare 22930 touchscreen , the following is listed in dmesg:

[ 3.194915] usb 1-1.4: new full-speed USB device number 5 using xhci_hcd
[ 3.309613] usb 1-1.4: New USB device found, idVendor=222a, idProduct=0001, bcdDevice= 0.02
[ 3.309646] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3.309658] usb 1-1.4: Product: ILITEK-TP
[ 3.309668] usb 1-1.4: Manufacturer: ILITEK
[ 3.332490] input: ILITEK ILITEK-TP Touchscreen as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.0/0003:222A:0001.0004/input/input3
[ 3.336105] input: ILITEK ILITEK-TP Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.0/0003:222A:0001.0004/input/input5
[ 3.341179] hid-generic 0003:222A:0001.0004: input,hiddev97,hidraw3: USB HID v1.10 Mouse [ILITEK ILITEK-TP] on usb-0000:01:00.0-1.4/input0
...
[ 14.143042] input: ILITEK ILITEK-TP as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.0/0003:222A:0001.0004/input/input8
[ 14.160772] input: ILITEK ILITEK-TP Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.0/0003:222A:0001.0004/input/input10
[ 14.167235] hid-multitouch 0003:222A:0001.0004: input,hiddev97,hidraw3: USB HID v1.10 Mouse [ILITEK ILITEK-TP] on usb-0000:01:00.0-1.4/input0


So `input` is recognized for both touch and mouse, but only the mouse is registered as hid-generic at first. Touchscreen seems to be registered later. Maybe this is normal; unsure. Really surprised this is still an issue after all this time.
04 May 2024 11:32

WHB02 remote control to QtPlasmac

Category: Plasmac

Thanks for the answer, the WHB02 costs half as much as the WHB04 and it has enough functionality for plasma cutting.
The WHB02 is similar to the remote controls that come with laser cutting machines.
I thought that maybe the same component xhc-whb04b-6 could be suitable for this remote.
04 May 2024 09:14

WHB02 remote control to QtPlasmac

Category: Plasmac

Googling for Linuxcnc and XHC WHB02 seems to show Aliexpress vendors selling it for LinuxCNC use (but possibly only in Hebrew!, which I can't read) but then most vendors on Aliexpress have no idea what they are selling, so I wouldn't necessarily read too much onto that.

I don't see any mention of it on these forums.

It might be safer to go with the known-supported WHB04, if you don't feel like being the guinea pig.
29 Apr 2024 08:57
Replied by andypugh on topic Fehler Rules

Fehler Rules

Category: General LinuxCNC Questions

Well, that sounds like a Linux problem rather than a LinuxCNC problem.

Maybe this? www.forum.linuxcnc.org/38-general-linuxc...ing-up-as-usb#238667
28 Apr 2024 00:01

Mesa 7i76 error after xhc-whb04b-6 install

Category: Driver Boards

I would disable the xhc and see if the problem goes away.
Something else unrelated to jog controller may have
changed on the PC
27 Apr 2024 23:52

Mesa 7i76 error after xhc-whb04b-6 install

Category: Driver Boards

I have all of that covered. This is becoming a PITA unfortunately. Been running the same kernel and params for ages.
Not sure if anything changed recently but I almost always download the latest code from GIT, compile and run.

Is this something that may have recently cropped up?
24 Apr 2024 02:07

Mesa 7i76 error after xhc-whb04b-6 install

Category: Driver Boards

Strange, You might try lengthening the servo period slightly
to see if is improves things or do some of the other network
latency improving changes:

Use isolcpus in grub to isolate the last processor, use idle=poll in grub,
make sure irq coalescing  is off if you have a Intel MAC, and finally pin
the Ethernet IRQ to the isolated CPU.
24 Apr 2024 01:07

Mesa 7i76 error after xhc-whb04b-6 install

Category: Driver Boards

It's just the USB dongle, nothing more. 
24 Apr 2024 00:02

Build LinuxCNC v2.9.2 with Ubuntu-20.04 sucessfully but cannot find the command

Category: Installing LinuxCNC

Dear Forum,

It seems that I was able to build the linuxcnc v2.9.2 on Ubuntu-20.04 as below :
$ uname -r
5.15.119-rt65

$ ./autogen.sh
$ ./configure --with-realtime=uspace

checking for c++... c++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether c++ supports C++17 features with -std=gnu++17... yes
checking build toplevel... /data/R3T-UBUNTU-20/LinuxCNC/linuxcnc-v2.9.x
checking installation prefix... run in place
checking for grep... /usr/bin/grep
checking for egrep... /usr/bin/egrep
checking for pkg-config... /usr/bin/pkg-config
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking rpc/rpc.h usability... yes
checking rpc/rpc.h presence... yes
checking for rpc/rpc.h... yes
checking for rtai-config... none
checking for xeno-config... none
checking for realtime API(s) to use... uspace
checking whether to enable userspace PCI access... yes
checking for libudev... yes - version 245
checking for cc version... not specified
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... gcc -E
checking for usability of linux/hidraw.h... yes
checking for usability of rpc/rpc.h... yes
checking for libmodbus3... yes - version 3.1.6
checking for libusb-1.0... yes
checking for libgpiod... checking for main in -lgpiod... yes
checking for module installation directory... configuring for run-in-place
/data/R3T-UBUNTU-20/LinuxCNC/linuxcnc-v2.9.x/rtlib
checking for glib... yes - 2.64.6
checking for GTK 3.22.4 or above... yes - 3.24.20
checking for GTK 2.4.0 or above... yes - 2.24.32
checking for libgnomeprintui-2.2... no -- printing from classicladder will not be possible
checking whether make sets $(MAKE)... yes
checking for ranlib... ranlib
checking for ar... /usr/bin/ar
checking for install... /usr/bin/install -c
checking for sed... /usr/bin/sed
checking for ps... /usr/bin/ps
checking for kill... /usr/bin/kill
checking for whoami... /usr/bin/whoami
checking for awk... /usr/bin/awk
checking for pidof... /usr/bin/pidof
checking for ipcs... /usr/bin/ipcs
checking for fuser... /usr/bin/fuser
checking for yapps... no
checking for yapps2... /usr/bin/yapps2
checking for mandb... /usr/bin/mandb
checking for intltool-extract... /usr/bin/intltool-extract
checking for yapps... (cached) /usr/bin/yapps2
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for boostlib >=  (102000)... yes
checking for python build information...
checking for python3.11... no
checking for python3.10... no
checking for python3.9... no
checking for python3.8... python3.8
checking for main in -lpython3.8... yes
  results of the Python check:
    Binary:      python3.8
    Library:     python3.8
    Include Dir: /usr/include/python3.8
checking for python3.8... /usr/bin/python3.8
checking for python... (cached) /usr/bin/python3.8
checking for a version of Python >= '2.1.0'... yes
checking for the sysconfig Python package... yes
checking for Python include path... -I/usr/include/python3.8
checking for Python library path... -L/usr/lib -lpython3.8
checking for Python site-packages path... /usr/lib/python3.8/site-packages
checking for Python platform specific site-packages path...
checking python extra libraries... -lcrypt -lpthread -ldl  -lutil -lm -lm
checking python extra linking flags... -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions
checking consistency of all components of python development environment... yes
checking whether the Boost::Python library is available... yes
checking whether boost_python is the correct library... no
checking whether boost_python38 is the correct library... yes
checking whether to build documentation... no
checking sys/io.h usability... yes
checking sys/io.h presence... yes
checking for sys/io.h... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for semtimedop... yes
checking for optreset... no
checking for library containing dlopen... -ldl
checking for library containing clock_nanosleep... none required
checking for tcl... /usr/lib/tcl8.6/tclConfig.sh found
checking for tk... /usr/lib/tk8.6/tkConfig.sh found
checking whether to check for runtime dependencies... yes
checking for BWidget using /usr/bin/tclsh8.6... found
checking for BLT using /usr/bin/tclsh8.6... found
checking for tclX using /usr/bin/tclsh8.6... found
checking for python pango module... found
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking X11/extensions/Xinerama.h usability... yes
checking X11/extensions/Xinerama.h presence... yes
checking for X11/extensions/Xinerama.h... yes
checking for XineramaQueryExtension in -lXinerama... yes
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
Trying readline without -ltermcap
checking for readline in -lreadline... yes
Trying readline with -ltermcap
checking for readline in -lreadline... yes
Readline does not require -ltermcap
checking whether readline license is compatible with GPL-2... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for setlocale... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for gettext in -lintl... no
checking for xgettext... /usr/bin/xgettext
checking for msgfmt... /usr/bin/msgfmt
checking python version... OK
checking match between tk and Tkinter versions... 8.6
checking for site-package location... /usr/lib/python3/dist-packages
checking for working GLU quadrics... yes
checking for Xmu headers... checking X11/Xmu/Xmu.h usability... yes
checking X11/Xmu/Xmu.h presence... yes
checking for X11/Xmu/Xmu.h... yes
configure: creating ./config.status
config.status: creating ../scripts/rtapi.conf
config.status: creating ../scripts/linuxcnc
config.status: creating ../scripts/linuxcnc_info
config.status: creating ../scripts/halrun
config.status: creating ../scripts/rip-environment
config.status: creating ../scripts/haltcl
config.status: creating ../scripts/halcmd_twopass
config.status: creating ../scripts/realtime
config.status: creating ../scripts/runtests
config.status: creating ../scripts/linuxcnc_var
config.status: creating ../scripts/linuxcnc-checklink
config.status: creating Makefile.inc
config.status: creating Makefile.modinc
config.status: creating ../tcl/linuxcnc.tcl
config.status: creating ../lib/python/nf.py
config.status: creating ../scripts/linuxcncmkdesktop
config.status: creating ../share/applications/linuxcnc-latency.desktop
config.status: creating ../share/applications/linuxcnc-latency-histogram.desktop
config.status: creating ../share/applications/linuxcnc-pncconf.desktop
config.status: creating ../share/applications/linuxcnc-stepconf.desktop
config.status: creating ../share/applications/linuxcnc.desktop
config.status: creating ../share/desktop-directories/linuxcnc-cnc.directory
config.status: creating ../share/desktop-directories/linuxcnc-ref.directory
config.status: creating ../share/desktop-directories/linuxcnc-doc.directory
config.status: creating ../share/menus/CNC.menu
config.status: creating config.h



######################################################################
#                LinuxCNC - Enhanced Machine Controller              #
######################################################################
#                                                                    #
#   LinuxCNC is a software system for computer control of machine    #
#   tools such as milling machines. LinuxCNC is released under the   #
#   GPL.  Check out www.linuxcnc.org/ for more details.       #
#                                                                    #
#                                                                    #
#   It seems that ./configure completed successfully.                #
#   This means that RT is properly installed                         #
#   If things don't work check config.log for errors & warnings      #
#                                                                    #
#   Next compile by typing                                           #
#         make                                                       #
#         sudo make setuid                                           #
#          (if realtime behavior and hardware access are required)   #
#                                                                    #
#   Before running the software, set the environment:                #
#         . (top dir)/scripts/rip-environment                        #
#                                                                    #
#   To run the software type                                         #
#         linuxcnc                                                   #
#                                                                    #
######################################################################



$ make
Reading 205/205 dependency files
Done reading dependencies
Reading 238/238 realtime dependency files
Done reading realtime dependencies
cp ../scripts/rtapi.conf ../tests/uspace/spawnv-root/rtapi.conf
Compiling libnml/inifile/inifile.cc
In file included from /usr/include/string.h:495,
                 from libnml/inifile/inifile.cc:18:
In function ‘char* strncpy(char*, const char*, size_t)’,
    inlined from ‘const char* IniFile::Find(const char*, const char*, int, int*)’ at libnml/inifile/inifile.cc:319:23:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output may be truncated copying between 0 and 255 bytes from a string of length 256 [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Creating shared library liblinuxcncini.so.0
ln -sf liblinuxcncini.so.0 ../lib/liblinuxcncini.so
Compiling libnml/inifile/inivar.cc
Linking inivar
Compiling libnml/os_intf/_sem.c
Compiling libnml/os_intf/_shm.c
Compiling rtapi/uspace_ulapi.c
Creating shared library liblinuxcnchal.so.0
ln -sf liblinuxcnchal.so.0 ../lib/liblinuxcnchal.so
Creating shared library libnml.so.0
ln -sf libnml.so.0 ../lib/libnml.so
Compiling rtapi/uspace_rtapi_app.cc
Compiling rtapi/rtapi_pci.cc
Linking rtapi_app
./config.status --file=../docs/man/man1/linuxcnc.1:../docs/src/man/man1/linuxcnc.1.in
config.status: creating ../docs/man/man1/linuxcnc.1
Linking halstreamer
Linking halsampler
Linking panelui
Compiling hal/user_comps/mb2hal/mb2hal.c
Compiling hal/user_comps/mb2hal/mb2hal_init.c
Compiling hal/user_comps/mb2hal/mb2hal_modbus.c
Compiling hal/user_comps/mb2hal/mb2hal_hal.c
Linking mb2hal
Linking gs2_vfd
Linking hy_gt_vfd
Linking svd-ps_vfd
Linking shuttle
Compiling hal/user_comps/xhc-hb04.cc
Linking xhc-hb04
Linking sendkeys
Linking thermistor
Linking vfs11_vfd
Compiling hal/classicladder/arithm_eval.c
Compiling hal/classicladder/arrays.c
Compiling hal/classicladder/calc.c
Compiling hal/classicladder/calc_sequential.c
Compiling hal/classicladder/classicladder.c
Compiling hal/classicladder/classicladder_gtk.c
Compiling hal/classicladder/config.c
Compiling hal/classicladder/config_gtk.c
Compiling hal/classicladder/drawing.c
Compiling hal/classicladder/drawing_sequential.c
Compiling hal/classicladder/edit.c
Compiling hal/classicladder/edit_gtk.c
Compiling hal/classicladder/edit_sequential.c
Compiling hal/classicladder/editproperties_gtk.c
Compiling hal/classicladder/emc_mods.c
Compiling hal/classicladder/files.c
Compiling hal/classicladder/files_project.c
Compiling hal/classicladder/files_sequential.c
Compiling hal/classicladder/manager.c
Compiling hal/classicladder/manager_gtk.c
Compiling hal/classicladder/protocol_modbus_master.c
Compiling hal/classicladder/protocol_modbus_slave.c
Compiling hal/classicladder/serial_linux.c
Compiling hal/classicladder/socket_modbus_master.c
Compiling hal/classicladder/socket_server.c
Compiling hal/classicladder/spy_vars_gtk.c
Compiling hal/classicladder/symbols.c
Compiling hal/classicladder/symbols_gtk.c
Compiling hal/classicladder/vars_names.c
Compiling hal/classicladder/vars_access.c
Linking classicladder
Compiling hal/utils/halcmd.c
Compiling hal/utils/halcmd_commands.cc
Linking hal.so
Compiling hal/utils/halcmd_main.c
Compiling hal/utils/halcmd_completion.c
Linking halcmd
Compiling hal/utils/halrmt.c
Linking halrmt
Compiling hal/utils/meter.c
Compiling hal/utils/miscgtk.c
Linking halmeter
Compiling hal/utils/scope.c
Compiling hal/utils/scope_horiz.c
Compiling hal/utils/scope_vert.c
Compiling hal/utils/scope_trig.c
Compiling hal/utils/scope_disp.c
Compiling hal/utils/scope_files.c
Linking halscope
Linking vfdb_vfd
Linking wj200_vfd
Linking pi500_vfd
Linking hy_vfd
Compiling hal/user_comps/xhc-whb04b-6/main.cc
Linking xhc-whb04b-6
Compiling emc/nml_intf/emcglb.c
Linking liblinuxcnc.a
Linking linuxcnc.so
Linking linuxcncrsh
Linking schedrmt
Compiling emc/usr_intf/emclcd.cc
emc/usr_intf/emclcd.cc: In function ‘int main(int, char**)’:
emc/usr_intf/emclcd.cc:494:52: warning: ‘%s’ directive output may be truncated writing up to 3679 bytes into a region of size 1013 [-Wformat-truncation=]
  494 |     snprintf(sockStr, sizeof(sockStr), "widget_add %s %s %s\n", widgets.screenName,
      |                                                    ^~
In file included from /usr/include/stdio.h:867,
                 from emc/usr_intf/emclcd.cc:30:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output 15 or more bytes (assuming 3694) into a destination of size 1024
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling emc/usr_intf/sockets.c
Linking linuxcnclcd
Linking halui
Linking linuxcncsvr
Compiling emc/task/emccanon.cc
Compiling emc/task/emctaskmain.cc
Compiling emc/rs274ngc/interp_base.cc
Compiling emc/rs274ngc/interp_namedparams.cc
Linking libpyplugin.so.0
c++ -std=gnu++17 -g -L/data/R3T-UBUNTU-20/LinuxCNC/linuxcnc-v2.9.x/lib -Wl,-rpath,/data/R3T-UBUNTU-20/LinuxCNC/linuxcnc-v2.9.x/lib  -lgpiod -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-soname,libpyplugin.so.0 -shared -o ../lib/libpyplugin.so.0 objects/emc/pythonplugin/python_plugin.o ../lib/liblinuxcncini.so -lstdc++ -lboost_python38 -L/usr/lib -lpython3.8 -lcrypt -lpthread -ldl  -lutil -lm -lm
ln -sf libpyplugin.so.0 ../lib/libpyplugin.so
Linking librs274.so.0
c++ -std=gnu++17 -g -L/data/R3T-UBUNTU-20/LinuxCNC/linuxcnc-v2.9.x/lib -Wl,-rpath,/data/R3T-UBUNTU-20/LinuxCNC/linuxcnc-v2.9.x/lib  -lgpiod -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-soname,librs274.so.0 -shared -o ../lib/librs274.so.0 objects/emc/rs274ngc/interp_arc.o objects/emc/rs274ngc/interp_array.o objects/emc/rs274ngc/interp_base.o objects/emc/rs274ngc/interp_check.o objects/emc/rs274ngc/interp_convert.o objects/emc/rs274ngc/interp_queue.o objects/emc/rs274ngc/interp_cycles.o objects/emc/rs274ngc/interp_execute.o objects/emc/rs274ngc/interp_find.o objects/emc/rs274ngc/interp_internal.o objects/emc/rs274ngc/interp_inverse.o objects/emc/rs274ngc/interp_read.o objects/emc/rs274ngc/interp_write.o objects/emc/rs274ngc/interp_o_word.o objects/emc/rs274ngc/interp_g7x.o objects/emc/rs274ngc/modal_state.o objects/emc/rs274ngc/nurbs_additional_functions.o objects/emc/rs274ngc/interp_namedparams.o objects/emc/rs274ngc/interp_python.o objects/emc/rs274ngc/interp_remap.o objects/emc/rs274ngc/interp_setup.o objects/emc/rs274ngc/canonmodule.o objects/emc/rs274ngc/pyparamclass.o objects/emc/rs274ngc/pyemctypes.o objects/emc/rs274ngc/pyinterp1.o objects/emc/rs274ngc/pyblock.o objects/emc/rs274ngc/pyarrays.o objects/emc/rs274ngc/interpmodule.o objects/emc/rs274ngc/rs274ngc_pre.o objects/emc/rs274ngc/interp_inspection.o ../lib/liblinuxcncini.so ../lib/libpyplugin.so ../lib/liblinuxcnchal.so.0 ../lib/libtooldata.so.0 -lstdc++ -lboost_python38 -L/usr/lib -lpython3.8 -lcrypt -lpthread -ldl  -lutil -lm -lm
Linking milltask
c++ -std=gnu++17 -o ../bin/milltask objects/emc/motion/emcmotglb.o objects/emc/task/emctask.o objects/emc/task/emccanon.o objects/emc/task/emctaskmain.o objects/emc/motion/usrmotintf.o objects/emc/motion/emcmotutil.o objects/emc/task/taskintf.o objects/emc/motion/dbuf.o objects/emc/motion/stashf.o objects/emc/task/taskmodule.o objects/emc/task/taskclass.o objects/emc/task/backtrace.o ../lib/librs274.so.0 ../lib/liblinuxcnc.a ../lib/libnml.so.0 ../lib/liblinuxcncini.so.0 ../lib/libposemath.so.0 ../lib/liblinuxcnchal.so.0 ../lib/libpyplugin.so.0 ../lib/libtooldata.so.0 -L/data/R3T-UBUNTU-20/LinuxCNC/linuxcnc-v2.9.x/lib -Wl,-rpath,/data/R3T-UBUNTU-20/LinuxCNC/linuxcnc-v2.9.x/lib  -lgpiod -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -lboost_python38 -L/usr/lib -lpython3.8 -lcrypt -lpthread -ldl  -lutil -lm -lm
Linking io
Linking iov2
emc/Submakefile:Linking genserkins
Compiling emc/canterp/canterp.cc
Linking canterp.so
Compiling emc/sai/driver.cc
Linking rs274
Linking motion-logger
Compiling module_helper/module_helper.c
Linking linuxcnc_module_helper
Compiling hal/halmodule.cc
Linking python module _hal.so
Compiling emc/usr_intf/axis/extensions/emcmodule.cc
Linking python module linuxcnc.so
Compiling emc/usr_intf/axis/extensions/_toglmodule.c
Linking python module _togl.so
Compiling emc/rs274ngc/gcodemodule.cc
Linking python module gcode.so
c++ -std=gnu++17 -L/data/R3T-UBUNTU-20/LinuxCNC/linuxcnc-v2.9.x/lib -Wl,-rpath,/data/R3T-UBUNTU-20/LinuxCNC/linuxcnc-v2.9.x/lib  -lgpiod -shared -o ../lib/python/gcode.so objects/emc/rs274ngc/gcodemodule.o ../lib/librs274.so.0 -lstdc++
Compiling realtime hal/drivers/hal_speaker.c
Linking ../rtlib/hal_speaker.so
Compiling realtime hal/drivers/hal_gpio.c
Linking ../rtlib/hal_gpio.so
Compiling realtime emc/motion/control.c
Linking ../rtlib/motmod.so
config.status: creating ../scripts/setup_designer
You now need to run 'sudo make setuid' in order to run in place with access to hardware.


$ sudo make setuid
chown root ../bin/rtapi_app
chmod 4750 ../bin/rtapi_app
chown root ../bin/linuxcnc_module_helper
chmod 4750 ../bin/linuxcnc_module_helper


But the linuxcnc command is found nowhere. Can anybody help me, please ?

Thanks and best regards,
Khang.
23 Apr 2024 22:13

Mesa 7i76 error after xhc-whb04b-6 install

Category: Driver Boards

That likely means that your latency has increased for some reason
Is the  xhc-whb04b-6 interfaced via a USB dongle or is it a WIFI device?
Displaying 1 - 15 out of 196 results.
Time to create page: 0.681 seconds
Powered by Kunena Forum